package com.yzt.message;

public class ConversationCache {

    private static ConversationCache mInstance;

    public static ConversationCache getInstance() {
        if (mInstance == null) {
            mInstance = new ConversationCache();
        }
        return mInstance;
    }

    private String userId;

    private boolean unlock;

    private int canHearVoiceTimes;

    private boolean canSendVoice;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public boolean isUnlock() {
        return unlock;
    }

    public void setUnlock(boolean unlock) {
        this.unlock = unlock;
    }

    public int getCanHearVoiceTimes() {
        return canHearVoiceTimes;
    }

    public void setCanHearVoiceTimes(int canHearVoiceTimes) {
        this.canHearVoiceTimes = canHearVoiceTimes;
    }

    public boolean isCanSendVoice() {
        return canSendVoice;
    }

    public void setCanSendVoice(boolean canSendVoice) {
        this.canSendVoice = canSendVoice;
    }
}
